<div class="lateral_esquerda1"></div>
         

<div class="form" style="margin-left: 250px;">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'obra-form',
	'enableAjaxValidation'=>false,
)); ?>
	
	<?php echo $form->errorSummary($model); ?>

    <table>
        
        <tr>
            <td>
                <?php echo $form->labelEx($model,'obra'); ?>
		<?php echo $form->textField($model,'obra',array('size'=>30,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'obra'); ?>                
            </td>
        </tr>
             <tr>
            <td>
                <?php echo $form->labelEx($model,'serv_prelim'); ?>
		<?php echo $form->textField($model,'serv_prelim',array('size'=>5,'maxlength'=>5)); ?>
		<?php echo $form->error($model,'serv_prelim'); ?>
            </td>
        </tr>
        <tr>
            <td>
                <?php echo $form->labelEx($model,'infraestrutura'); ?>
		<?php echo $form->textField($model,'infraestrutura',array('size'=>5,'maxlength'=>5)); ?>
		<?php echo $form->error($model,'infraestrutura'); ?>
            </td>
        </tr>
        <tr>
            <td>
                <?php echo $form->labelEx($model,'supraestrutura'); ?>
		<?php echo $form->textField($model,'supraestrutura',array('size'=>5,'maxlength'=>5)); ?>
		<?php echo $form->error($model,'supraestrutura'); ?>
            </td>
        </tr>
        <tr>
            <td>
                <?php echo $form->labelEx($model,'revestimento'); ?>
		<?php echo $form->textField($model,'revestimento',array('size'=>5,'maxlength'=>5)); ?>
		<?php echo $form->error($model,'revestimento'); ?>
            </td>
        </tr>
        <tr>
            <td>
                <?php echo $form->labelEx($model,'esquadrias'); ?>
		<?php echo $form->textField($model,'esquadrias',array('size'=>5,'maxlength'=>5)); ?>
		<?php echo $form->error($model,'esquadrias'); ?>
            </td>
        </tr>
        <tr>
            <td>
                <?php echo $form->labelEx($model,'instalacoes'); ?>
		<?php echo $form->textField($model,'instalacoes',array('size'=>5,'maxlength'=>5)); ?>
		<?php echo $form->error($model,'instalacoes'); ?>
            </td>
        </tr>
        <tr>
            <td>
                <?php echo $form->labelEx($model,'total_obra'); ?>
		<?php echo $form->textField($model,'total_obra',array('size'=>5,'maxlength'=>5)); ?>
		<?php echo $form->error($model,'total_obra'); ?>
            </td>
        </tr>
        <tr>
            <td>
                <?php echo CHtml::submitButton($model->isNewRecord ? 'Novo' : 'Salvar'); ?>
            </td>
        </tr>
    </table>
        	
<?php $this->endWidget(); ?>

</div><!-- form -->
     
    
    